package com.koron.sinoprobe.web.ledger.service;

import com.koron.sinoprobe.web.ledger.bean.entity.SpContract;
import com.koron.sinoprobe.web.ledger.bean.query.SpContractQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * @author twcao
 * @title: SpContractService
 * @projectName GDH_EAM_V2
 * @description: 项目合同 service
 * @date 2021/12/616:47
 */
public interface SpContractService {

    SpContract queryById(SessionFactory factory, String id);

    List<SpContract> queryList(SessionFactory factory, SpContractQuery query);

    SpContract saveOrUpdate(SessionFactory factory, SpContract bean);

    Boolean deleteById(SessionFactory factory, String id);
}
